3.276 \(\int \frac {\sec ^3(a+b x)}{\sqrt {\csc (a+b x)}} \, dx\)

Optimal. Leaf size=62 \[ \frac {\sec ^2(a+b x)}{2 b \csc ^{\frac {3}{2}}(a+b x)}+\frac {\tan ^{-1}\left (\sqrt {\csc (a+b x)}\right )}{4 b}+\frac {\tanh ^{-1}\left (\sqrt {\csc (a+b x)}\right )}{4 b} \]

[Out]

1/4*arctan(csc(b*x+a)^(1/2))/b+1/4*arctanh(csc(b*x+a)^(1/2))/b+1/2*sec(b*x+a)^2/b/csc(b*x+a)^(3/2)

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.316, Rules used = {2621, 288, 329, 212, 206, 203} \[ \frac {\sec ^2(a+b x)}{2 b \csc ^{\frac {3}{2}}(a+b x)}+\frac {\tan ^{-1}\left (\sqrt {\csc (a+b x)}\right )}{4 b}+\frac {\tanh ^{-1}\left (\sqrt {\csc (a+b x)}\right )}{4 b} \]

Antiderivative was successfully verified.

[In]

Int[Sec[a + b*x]^3/Sqrt[Csc[a + b*x]],x]

[Out]

ArcTan[Sqrt[Csc[a + b*x]]]/(4*b) + ArcTanh[Sqrt[Csc[a + b*x]]]/(4*b) + Sec[a + b*x]^2/(2*b*Csc[a + b*x]^(3/2))

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 212

Int[((a_) + (b_.)*(x_)^4)^(-1), x_Symbol] :> With[{r = Numerator[Rt[-(a/b), 2]], s = Denominator[Rt[-(a/b), 2]
]}, Dist[r/(2*a), Int[1/(r - s*x^2), x], x] + Dist[r/(2*a), Int[1/(r + s*x^2), x], x]] /; FreeQ[{a, b}, x] &&
 !GtQ[a/b, 0]

Rule 288

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c^(n - 1)*(c*x)^(m - n + 1)*(a + b*x^
n)^(p + 1))/(b*n*(p + 1)), x] - Dist[(c^n*(m - n + 1))/(b*n*(p + 1)), Int[(c*x)^(m - n)*(a + b*x^n)^(p + 1), x
], x] /; FreeQ[{a, b, c}, x] && IGtQ[n, 0] && LtQ[p, -1] && GtQ[m + 1, n] &&  !ILtQ[(m + n*(p + 1) + 1)/n, 0]
&& IntBinomialQ[a, b, c, n, m, p, x]

Rule 329

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, Dist[k/c, Subst[I
nt[x^(k*(m + 1) - 1)*(a + (b*x^(k*n))/c^n)^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0]
 && FractionQ[m] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 2621

Int[(csc[(e_.) + (f_.)*(x_)]*(a_.))^(m_)*sec[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> -Dist[(f*a^n)^(-1), Subst
[Int[x^(m + n - 1)/(-1 + x^2/a^2)^((n + 1)/2), x], x, a*Csc[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && Integer
Q[(n + 1)/2] &&  !(IntegerQ[(m + 1)/2] && LtQ[0, m, n])

Rubi steps

\begin {align*} \int \frac {\sec ^3(a+b x)}{\sqrt {\csc (a+b x)}} \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {x^{3/2}}{\left (-1+x^2\right )^2} \, dx,x,\csc (a+b x)\right )}{b}\\ &=\frac {\sec ^2(a+b x)}{2 b \csc ^{\frac {3}{2}}(a+b x)}-\frac {\operatorname {Subst}\left (\int \frac {1}{\sqrt {x} \left (-1+x^2\right )} \, dx,x,\csc (a+b x)\right )}{4 b}\\ &=\frac {\sec ^2(a+b x)}{2 b \csc ^{\frac {3}{2}}(a+b x)}-\frac {\operatorname {Subst}\left (\int \frac {1}{-1+x^4} \, dx,x,\sqrt {\csc (a+b x)}\right )}{2 b}\\ &=\frac {\sec ^2(a+b x)}{2 b \csc ^{\frac {3}{2}}(a+b x)}+\frac {\operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {\csc (a+b x)}\right )}{4 b}+\frac {\operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {\csc (a+b x)}\right )}{4 b}\\ &=\frac {\tan ^{-1}\left (\sqrt {\csc (a+b x)}\right )}{4 b}+\frac {\tanh ^{-1}\left (\sqrt {\csc (a+b x)}\right )}{4 b}+\frac {\sec ^2(a+b x)}{2 b \csc ^{\frac {3}{2}}(a+b x)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.03, size = 33, normalized size = 0.53 \[ \frac {2 \, _2F_1\left (\frac {3}{4},2;\frac {7}{4};\sin ^2(a+b x)\right )}{3 b \csc ^{\frac {3}{2}}(a+b x)} \]

Antiderivative was successfully verified.

[In]

Integrate[Sec[a + b*x]^3/Sqrt[Csc[a + b*x]],x]

[Out]

(2*Hypergeometric2F1[3/4, 2, 7/4, Sin[a + b*x]^2])/(3*b*Csc[a + b*x]^(3/2))

________________________________________________________________________________________

fricas [B]  time = 0.75, size = 141, normalized size = 2.27 \[ -\frac {2 \, \arctan \left (\frac {\sin \left (b x + a\right ) - 1}{2 \, \sqrt {\sin \left (b x + a\right )}}\right ) \cos \left (b x + a\right )^{2} - \cos \left (b x + a\right )^{2} \log \left (\frac {\cos \left (b x + a\right )^{2} + \frac {4 \, {\left (\cos \left (b x + a\right )^{2} - \sin \left (b x + a\right ) - 1\right )}}{\sqrt {\sin \left (b x + a\right )}} - 6 \, \sin \left (b x + a\right ) - 2}{\cos \left (b x + a\right )^{2} + 2 \, \sin \left (b x + a\right ) - 2}\right ) + \frac {8 \, {\left (\cos \left (b x + a\right )^{2} - 1\right )}}{\sqrt {\sin \left (b x + a\right )}}}{16 \, b \cos \left (b x + a\right )^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^3/csc(b*x+a)^(1/2),x, algorithm="fricas")

[Out]

-1/16*(2*arctan(1/2*(sin(b*x + a) - 1)/sqrt(sin(b*x + a)))*cos(b*x + a)^2 - cos(b*x + a)^2*log((cos(b*x + a)^2
 + 4*(cos(b*x + a)^2 - sin(b*x + a) - 1)/sqrt(sin(b*x + a)) - 6*sin(b*x + a) - 2)/(cos(b*x + a)^2 + 2*sin(b*x
+ a) - 2)) + 8*(cos(b*x + a)^2 - 1)/sqrt(sin(b*x + a)))/(b*cos(b*x + a)^2)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec \left (b x + a\right )^{3}}{\sqrt {\csc \left (b x + a\right )}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^3/csc(b*x+a)^(1/2),x, algorithm="giac")

[Out]

integrate(sec(b*x + a)^3/sqrt(csc(b*x + a)), x)

________________________________________________________________________________________

maple [A]  time = 0.17, size = 71, normalized size = 1.15 \[ \frac {-\left (\ln \left (\sqrt {\sin }\left (b x +a \right )-1\right )-\ln \left (\sqrt {\sin }\left (b x +a \right )+1\right )+2 \arctan \left (\sqrt {\sin }\left (b x +a \right )\right )\right ) \left (\cos ^{2}\left (b x +a \right )\right )+4 \left (\sin ^{\frac {3}{2}}\left (b x +a \right )\right )}{8 \cos \left (b x +a \right )^{2} b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(b*x+a)^3/csc(b*x+a)^(1/2),x)

[Out]

1/8*(-(ln(sin(b*x+a)^(1/2)-1)-ln(sin(b*x+a)^(1/2)+1)+2*arctan(sin(b*x+a)^(1/2)))*cos(b*x+a)^2+4*sin(b*x+a)^(3/
2))/cos(b*x+a)^2/b

________________________________________________________________________________________

maxima [A]  time = 1.44, size = 63, normalized size = 1.02 \[ \frac {\frac {4}{{\left (\frac {1}{\sin \left (b x + a\right )^{2}} - 1\right )} \sqrt {\sin \left (b x + a\right )}} + 2 \, \arctan \left (\frac {1}{\sqrt {\sin \left (b x + a\right )}}\right ) + \log \left (\frac {1}{\sqrt {\sin \left (b x + a\right )}} + 1\right ) - \log \left (\frac {1}{\sqrt {\sin \left (b x + a\right )}} - 1\right )}{8 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^3/csc(b*x+a)^(1/2),x, algorithm="maxima")

[Out]

1/8*(4/((1/sin(b*x + a)^2 - 1)*sqrt(sin(b*x + a))) + 2*arctan(1/sqrt(sin(b*x + a))) + log(1/sqrt(sin(b*x + a))
 + 1) - log(1/sqrt(sin(b*x + a)) - 1))/b

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {1}{{\cos \left (a+b\,x\right )}^3\,\sqrt {\frac {1}{\sin \left (a+b\,x\right )}}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(cos(a + b*x)^3*(1/sin(a + b*x))^(1/2)),x)

[Out]

int(1/(cos(a + b*x)^3*(1/sin(a + b*x))^(1/2)), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec ^{3}{\left (a + b x \right )}}{\sqrt {\csc {\left (a + b x \right )}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)**3/csc(b*x+a)**(1/2),x)

[Out]

Integral(sec(a + b*x)**3/sqrt(csc(a + b*x)), x)

________________________________________________________________________________________